Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server: Special mode with empty listen_host : try listen v4 and v6 #730

Merged
merged 15 commits into from
Apr 27, 2017

Conversation

proller
Copy link
Contributor

@proller proller commented Apr 26, 2017

without fatal error if protocol not supported (for docker and freebsd)

…thout fatal error if protocol not supported (for docker and freebsd)
@proller
Copy link
Contributor Author

proller commented Apr 26, 2017

will auto-reformat after merge

@@ -547,8 +549,18 @@ int Server::main(const std::vector<std::string> & args)

LOG_INFO(log, "Listening interserver: " + interserver_address.toString());
}

} catch (const std::exception & e) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to catch only relevant exceptions.

Copy link
Member

@alexey-milovidov alexey-milovidov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

@alexey-milovidov
Copy link
Member

You need to check exception code.
Now the behaviour is wrong for case of "Address already in use" error: half of server interfaces could be started.

@alexey-milovidov alexey-milovidov merged commit 7c891eb into ClickHouse:master Apr 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants